const express = require('express')
const { login, signup } = require('../controllers/auth.js')

const router = express.Router()

router.post('/signup', signup)
router.post('/login', login)

module.exports = router